Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
is-negated-glob
Advanced tools
Returns an object with a `negated` boolean and the `!` stripped from negation patterns. Also respects extglobs.
Returns an object with a
negated
boolean and the!
stripped from negation patterns. Also respects extglobs.
Install with npm:
$ npm install --save is-negated-glob
var isNegatedGlob = require('is-negated-glob');
console.log(isNegatedGlob('foo'));
// { pattern: 'foo', negated: false }
console.log(isNegatedGlob('!foo'));
// { pattern: 'foo', negated: true }
console.log(isNegatedGlob('!(foo)'));
// extglob patterns are ignored
// { pattern: '!(foo)', negated: false }
true
if the given string looks like a glob pattern or an extglob pattern… more | homepagePull requests and stars are always welcome. For bugs and feature requests, please create an issue.
(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)
To generate the readme and API documentation with verb:
$ npm install -g verb verb-generate-readme && verb
Install dev dependencies:
$ npm install -d && npm test
Jon Schlinkert
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb-generate-readme, v0.1.30, on September 08, 2016.
FAQs
Returns an object with a `negated` boolean and the `!` stripped from negation patterns. Also respects extglobs.
The npm package is-negated-glob receives a total of 1,114,527 weekly downloads. As such, is-negated-glob popularity was classified as popular.
We found that is-negated-glob demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.